package com.yzh.design.demo.impl;

import com.yzh.design.demo.OrderAdapterService;
import com.yzh.design.demo.service.OrderService;

public class InsideOrderAdapterServiceImpl implements OrderAdapterService {
    private OrderService orderService = new OrderService();
    @Override
    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }
}
